Skip to content

revert(marketing): remove landing hero positioning experiment - #6155

Merged
saddlepaddle merged 1 commit into
mainfrom
close-landing-experiment
Aug 4, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
close-landing-experiment

Conversation

@saddlepaddle

@saddlepaddle saddlepaddle commented Aug 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Closes out the landing-hero-positioning A/B test (PostHog experiment 386395) and removes all experiment code. Reverts the experiment wiring from #5832 and the flag bootstrap from #5884.

  • HeroSection renders the control copy unconditionally again (no flag read, no platform gating for copy selection)
  • Removed the bootstrap option from the marketing posthog.init (it existed only for instant, sticky hero-variant assignment)
  • Deleted hero-flag-bootstrap.ts (client-side SHA-1 variant assignment mirror)

Result (why we're closing)

After 2 weeks and ~7.8k exposures, download_clicked was flat: control 21.9% vs test 21.7%, 42% chance to win, credible interval [−9.3%, +7.6%] relative — which already excludes the pre-registered +10% MDE, so the test arm can't win. The PostHog experiment is stopped and marked inconclusive; the flag will be cleaned up after this deploys.

https://claude.ai/code/session_016SyQq825A17ZMGGDgyaoPE


Summary by cubic

Remove the landing-hero-positioning A/B test and revert the landing hero to the control copy. Closes PostHog experiment 386395 and simplifies the marketing analytics init.

  • Refactors
    • HeroSection now always renders the control copy; removed flag reads and platform gating.
    • Dropped bootstrap from marketing posthog.init; deleted apps/marketing/src/lib/analytics/hero-flag-bootstrap.ts.

Written for commit 411e676. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Changes
    • Simplified the marketing hero section to use consistent headline and subheadline content.
    • Removed audience-based hero variations and platform-specific positioning.
    • Updated hero animations and sizing to render directly from the standard content configuration.

Closes out the landing-hero-positioning A/B test (PostHog experiment
386395). Result was flat on download_clicked, so the control copy stays.
Reverts the experiment wiring from #5832 and the flag bootstrap from
#5884; the hero renders the control copy unconditionally again.

Claude-Session: https://claude.ai/code/session_016SyQq825A17ZMGGDgyaoPE
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fcd96176-6c82-4791-9b0a-d45241adbb80

📥 Commits

Reviewing files that changed from the base of the PR and between d530b98 and 411e676.

📒 Files selected for processing (3)
  • apps/marketing/src/app/components/HeroSection/HeroSection.tsx
  • apps/marketing/src/instrumentation-client.ts
  • apps/marketing/src/lib/analytics/hero-flag-bootstrap.ts
💤 Files with no reviewable changes (2)
  • apps/marketing/src/instrumentation-client.ts
  • apps/marketing/src/lib/analytics/hero-flag-bootstrap.ts

📝 Walkthrough

Walkthrough

The marketing hero no longer uses PostHog-based positioning variants or platform detection. It uses static copy, and PostHog initialization no longer receives hero flag bootstrap data. The hero flag bootstrap module was deleted.

Changes

Hero experiment removal

Layer / File(s) Summary
Static hero copy and rendering
apps/marketing/src/app/components/HeroSection/HeroSection.tsx
HeroSection uses one static headline and subheadline configuration. Sizing, typewriter rendering, and subheadline output read directly from that configuration.
PostHog bootstrap cleanup
apps/marketing/src/instrumentation-client.ts
PostHog initialization no longer imports or passes hero flag bootstrap data. The hero flag bootstrap module was removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: kitenite

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the marketing experiment removal and follows conventional commit format.
Description check ✅ Passed The description explains the change and rationale clearly, but it omits the template's testing section and checklist.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch close-landing-experiment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Reverts the completed landing-hero positioning experiment and restores static control copy.

  • Removes platform and PostHog feature-flag selection from HeroSection.
  • Removes the experiment-specific PostHog bootstrap configuration.
  • Deletes the now-unused client-side hero variant assignment helper.

Confidence Score: 5/5

The PR appears safe to merge with no actionable regressions identified.

The experiment-specific rendering, bootstrap configuration, and assignment helper are removed together, while static hero rendering and standard cookie-backed analytics initialization remain intact.

Important Files Changed

Filename Overview
apps/marketing/src/app/components/HeroSection/HeroSection.tsx Restores unconditional control copy and removes the experiment’s platform and feature-flag dependencies without leaving stale references.
apps/marketing/src/instrumentation-client.ts Removes only the hero experiment bootstrap while preserving PostHog persistence, consent handling, and general analytics configuration.
apps/marketing/src/lib/analytics/hero-flag-bootstrap.ts Deletes the experiment-specific variant assignment helper after all of its consumers were removed.

Reviews (1): Last reviewed commit: "revert(marketing): remove landing hero p..." | Re-trigger Greptile

@github-actions

github-actions Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

@saddlepaddle
saddlepaddle merged commit df0cdc0 into main Aug 4, 2026
19 checks passed
@saddlepaddle
saddlepaddle deleted the close-landing-experiment branch August 4, 2026 16:41

This branch was previously deployed

1 inactive deployment
preview — 411e676c Deployed Aug 4, 2026 by saddlepaddle via Deploy Docs #7055
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant